package com.tudouji.project.system.mapper;

import java.util.List;
import com.tudouji.project.system.domain.Businesscode;

/**
 * 业务编码Mapper接口
 * 
 * @author tudouji
 * @date 2021-10-27
 */
public interface BusinesscodeMapper 
{
    /**
     * 查询业务编码
     * 
     * @param guid 业务编码ID
     * @return 业务编码
     */
    public Businesscode selectBusinesscodeById(String guid);

    /**
     * 查询业务编码列表
     * 
     * @param businesscode 业务编码
     * @return 业务编码集合
     */
    public List<Businesscode> selectBusinesscodeList(Businesscode businesscode);

    /**
     * 新增业务编码
     * 
     * @param businesscode 业务编码
     * @return 结果
     */
    public int insertBusinesscode(Businesscode businesscode);

    /**
     * 修改业务编码
     * 
     * @param businesscode 业务编码
     * @return 结果
     */
    public int updateBusinesscode(Businesscode businesscode);

    /**
     * 删除业务编码
     * 
     * @param guid 业务编码ID
     * @return 结果
     */
    public int deleteBusinesscodeById(String guid);

    /**
     * 批量删除业务编码
     * 
     * @param guids 需要删除的数据ID
     * @return 结果
     */
    public int deleteBusinesscodeByIds(String[] guids);
}
